export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/mineindex/index',
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#FFFFFF',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    color: '#999',
    backgroundColor: '#fafafa',
    selectedColor: '#FF7735',
    borderStyle: 'white',

    list: [{
      text: '首页',
      pagePath: 'pages/index/index',
      iconPath: '/static/images/appliiconselected2.png',
      selectedIconPath: '/static/images/appliiconselected2.png'
    }, {
      text: '我的',
      pagePath: 'pages/mineindex/index',
      iconPath: 'static/images/appliiconselected2.png',
      selectedIconPath: 'static/images/appliiconselected2.png'
    }],
    position: 'bottom'
  },
  permission: {
    'scope.userLocation': {
      'desc': '你的位置信息将用于小程序位置接口的效果展示'
    }
  },
  'requiredBackgroundModes': [
    'location'
  ],
  'usingComponents': {
    'van-button': '/static/vant/button/index',
    'van-loading': '/static/vant/loading/index',
    'van-icon': '/static/vant/icon/index',
    'van-image': '/static/vant/image/index',
    'van-row': '/static/vant/row/index',
    'van-col': '/static/vant/col/index',
  }
})
